<template>
    <div>
        子组件1传达到子组件2的数据为：{{sendmessage}}
    </div>
</template>>

<script>
export default {
    name:"child2",
    props:['sendmessage']
}
</script>>

<style scoped>
div{
    text-align: center;
}
</style>